package com.smart.modules.genealogy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smart.system.common.base.BaseEntity;

/**
 * 公共数据对象 common_table
 */

public class CommonTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Long id;

    /** 组编号 */

    private Long groupId;

    /** 组名称 */

    private String groupName;

    /** 分项编号 */

    private Long subitemId;

    /** 分项名称 */

    private String subitemName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setGroupId(Long groupId)
    {
        this.groupId = groupId;
    }

    public Long getGroupId()
    {
        return groupId;
    }
    public void setGroupName(String groupName)
    {
        this.groupName = groupName;
    }

    public String getGroupName()
    {
        return groupName;
    }
    public void setSubitemId(Long subitemId)
    {
        this.subitemId = subitemId;
    }

    public Long getSubitemId()
    {
        return subitemId;
    }
    public void setSubitemName(String subitemName)
    {
        this.subitemName = subitemName;
    }

    public String getSubitemName()
    {
        return subitemName;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("groupId", getGroupId())
                .append("groupName", getGroupName())
                .append("subitemId", getSubitemId())
                .append("subitemName", getSubitemName())
                .toString();
    }
}
